#!/bin/bash

#系统目录
shell_path=$(cd `dirname $0`; pwd)
app_home=${shell_path%/*}

#设置当前工作目录
cd $app_home

#chmod +x $app_home/bin/gateway
nohup $app_home/bin/gateway port=9546 workPath=$app_home redis.host=localhost redis.port=6379 redis.password=12345678 loadRouterConf=true redisRouterPrefix=mall4:gateway.dynamic.route  redisWhitePrefix=mall4:gateway.dynamic.white	>$app_home/logs/gateway.out 2>&1 &

nohup $app_home/bin/next-web-service  mongo.host=localhost mongo.port=27017 mongo.username=admin mongo.password=12345678 mongo.database=fox-next  redis.host=localhost redis.port=6379 redis.password=12345678  geoip=/data/GeoLite2-City_20250228/GeoLite2-City.mmdb 	>$app_home/logs/next-web-service.out 2>&1 &



